import request from '@/utils/request'

// 查询设备迁移列表
export function listDevice_migration(query) {
  return request({
    url: '/ora/device_migration/list',
    method: 'get',
    params: query
  })
}

// 查询设备迁移详细
export function getDevice_migration(id) {
  return request({
    url: '/ora/device_migration/' + id,
    method: 'get'
  })
}

// 新增设备迁移
export function addDevice_migration(data) {
  return request({
    url: '/ora/device_migration',
    method: 'post',
    data: data
  })
}

// 修改设备迁移
export function updateDevice_migration(data) {
  return request({
    url: '/ora/device_migration',
    method: 'put',
    data: data
  })
}

// 删除设备迁移
export function delDevice_migration(id) {
  return request({
    url: '/ora/device_migration/' + id,
    method: 'delete'
  })
}
